﻿using JESAI.Core.Attributes;
using JESAI.Datas.Sqlsugar.Repositories;
using JESAI.Platform.Domain.Test.Entities;
using JESAI.Platform.Domain.Test.Repositories;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Platform.Sqlsugar.Repositories
{
    [AppService]
    public class TestRepository : SqlsugarRepository<TestEntity>, ITestRepository
    {
        public TestRepository(ISqlSugarClient context) : base(context)
        {
        }

        public List<TestEntity> GetAllTest()
        {
            var Test =  _DbQueryable.ToList();
            return Test;
        }
    }
}
